package ZY10_22.Teacher;

public class TeacherTest {
    public static void main(String[] args) {
        Teacher s1=new CTeacher("老张","男",30,10);
                s1.show();
        Teacher s2=new UiTeacher("老李","男",40,15);
                s2.show();
        Teacher s3=new JavaTeeacher("老吴","男",35,20);
                s3.show();
    }
}
